$OpenBSD: patch-globals_h,v 1.1 2015/10/25 13:11:54 zhuk Exp $
Add OpenBSD support.
--- globals.h.orig	Sun Oct 25 13:44:14 2015
+++ globals.h	Sun Oct 25 13:46:31 2015
@@ -57,6 +57,14 @@
   #define SKELDIR "/usr/share/skel"
   #define SKEL_FILE_PREFIX "dot"
   #define CRONTAB_DIR "/var/cron/tabs"
+#elif defined(__OpenBSD__)
+  #include <pwd.h>
+  #define PASSWORD_FILE _PATH_MASTERPASSWD
+  #define PASSWORD_FILE_MASK S_IRUSR | S_IWUSR
+  #define PWMKDB _PATH_PWD_MKDB" -p "PASSWORD_FILE
+  #define SKELDIR "/etc/skel"
+  #define SKEL_FILE_PREFIX ""
+  #define CRONTAB_DIR "/var/cron/tabs"
 #else
   #define PASSWORD_FILE "/etc/passwd"
   #define PASSWORD_FILE_MASK S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH
